package com.qf.dto;

import java.util.List;

public class StudentsInfo {
    private Integer totalPage;
    private List<StudentDto> list;

    public StudentsInfo() {
    }

    public StudentsInfo(Integer totalPage, List<StudentDto> list) {
        this.totalPage = totalPage;
        this.list = list;
    }

    public Integer getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(Integer totalPage) {
        this.totalPage = totalPage;
    }

    public List<StudentDto> getList() {
        return list;
    }

    public void setList(List<StudentDto> list) {
        this.list = list;
    }

    @Override
    public String toString() {
        return "StudentsInfo{" +
                "totalPage=" + totalPage +
                ", list=" + list +
                '}';
    }
}
